Skip to content

chore(deps): update testcontainers-node monorepo to v12#581

Merged
adalinesimonian merged 1 commit into
mainfrom
renovate/major-testcontainers-node-monorepo
May 19, 2026
Merged

chore(deps): update testcontainers-node monorepo to v12#581
adalinesimonian merged 1 commit into
mainfrom
renovate/major-testcontainers-node-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 19, 2026

This PR contains the following updates:

Package Change Age Confidence
@testcontainers/postgresql ^11.14.0^12.0.0 age confidence
testcontainers ^11.14.0^12.0.0 age confidence

Release Notes

testcontainers/testcontainers-node (@​testcontainers/postgresql)

v12.0.0

Compare Source

🚨 Breaking Changes

  1. Node 20 is EOL. Minimum engine requirement is now >= 22.22, matching the constraints from our dependencies.

  2. Previously, when no wait strategy was configured, Testcontainers defaulted to Wait.forListeningPorts().

    The new default wait strategy uses a Docker healthcheck when one is configured on the container image or service, falling back to Wait.forListeningPorts() when no healthcheck is available.

    To keep the previous behaviour, configure Wait.forListeningPorts() explicitly:

    import { DockerComposeEnvironment, GenericContainer, Wait } from "testcontainers";
    
    // Container: opt back into the previous default of waiting for listening ports
    const container = await new GenericContainer("my-image:latest")
      .withExposedPorts(8080)
      .withWaitStrategy(Wait.forListeningPorts())
      .start();
    
    // Compose: apply the previous default to all services
    const environment = await new DockerComposeEnvironment(composeFilePath, "docker-compose.yml")
      .withDefaultWaitStrategy(Wait.forListeningPorts())
      .up();
    
    // Compose: or apply it to a specific compose container
    const environment = await new DockerComposeEnvironment(composeFilePath, "docker-compose.yml")
      .withWaitStrategy("api-1", Wait.forListeningPorts())
      .up();

Changes

🚀 Features

🐛 Bug Fixes

📖 Documentation

📦 Dependency Updates


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot force-pushed the renovate/major-testcontainers-node-monorepo branch from 6234095 to 05864d7 Compare May 19, 2026 18:24
@adalinesimonian adalinesimonian merged commit a8be62e into main May 19, 2026
6 checks passed
@adalinesimonian adalinesimonian deleted the renovate/major-testcontainers-node-monorepo branch May 19, 2026 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant